package com.ruoyi.coal.modules.coalpile.domain.vo;

import com.ruoyi.coal.modules.coalpile.domain.CoalPileInfoEntity;
import io.swagger.annotations.ApiModelProperty;

public class PdfVo {
  @ApiModelProperty("煤场名称")
  private String meiName;

  @ApiModelProperty("煤堆信息")
  private CoalPileInfoEntity coalPileInfoEntity;

  public void setMeiName(String meiName) {
    this.meiName = meiName;
  }

  public void setCoalPileInfoEntity(CoalPileInfoEntity coalPileInfoEntity) {
    this.coalPileInfoEntity = coalPileInfoEntity;
  }

  public boolean equals(Object o) {
    if (o == this)
      return true;
    if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.vo.PdfVo))
      return false;
    com.ruoyi.coal.modules.coalpile.domain.vo.PdfVo other = (com.ruoyi.coal.modules.coalpile.domain.vo.PdfVo)o;
    if (!other.canEqual(this))
      return false;
    Object this$meiName = getMeiName(), other$meiName = other.getMeiName();
    if ((this$meiName == null) ? (other$meiName != null) : !this$meiName.equals(other$meiName))
      return false;
    Object this$coalPileInfoEntity = getCoalPileInfoEntity(), other$coalPileInfoEntity = other.getCoalPileInfoEntity();
    return !((this$coalPileInfoEntity == null) ? (other$coalPileInfoEntity != null) : !this$coalPileInfoEntity.equals(other$coalPileInfoEntity));
  }

  protected boolean canEqual(Object other) {
    return other instanceof com.ruoyi.coal.modules.coalpile.domain.vo.PdfVo;
  }

  public int hashCode() {
    int PRIME = 59;
    int result = 1;
    Object $meiName = getMeiName();
    result = result * 59 + (($meiName == null) ? 43 : $meiName.hashCode());
    Object $coalPileInfoEntity = getCoalPileInfoEntity();
    return result * 59 + (($coalPileInfoEntity == null) ? 43 : $coalPileInfoEntity.hashCode());
  }

  public String toString() {
    return "PdfVo(meiName=" + getMeiName() + ", coalPileInfoEntity=" + getCoalPileInfoEntity() + ")";
  }

  public String getMeiName() {
    return this.meiName;
  }

  public CoalPileInfoEntity getCoalPileInfoEntity() {
    return this.coalPileInfoEntity;
  }
}
